﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WH.Common.Bases.IBase;
using WH.Model.Bases;
using WH.Model.Systems;

namespace WH.Model.RemoveWatermark
{
    /// <summary>
    /// 视频去水印信息
    ///</summary>
    [SugarTable("wh_removewatermark")]
    public class RemoveWatermarkEntity : BaseOrgAuditableEntity, IOrganizationFilter
    {

        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(ColumnName = "code", IsNullable = false, Length = 50)]
        public string Code { get; set; } = null!;
        /// <summary>
        /// 用户唯一ID
        /// </summary>
        [SugarColumn(ColumnName = "openid", IsNullable = false, Length = 50)]
        public string OpenId { get; set; } = null!;

        /// <summary>
        /// 短视频链接
        /// </summary>
        [SugarColumn(ColumnName = "preurl", IsNullable = true, Length = 2000)]
        public string? PreUrl { get; set; }

        /// <summary>
        /// 去水印后链接 
        /// </summary>
        [SugarColumn(ColumnName = "afterurl", IsNullable = true, Length = 2000)]
        public string? AfterUrl { get; set; }

        /// <summary>
        /// 描述/备注说明
        /// </summary>
        [SugarColumn(ColumnName = "remark", IsNullable = true, Length = 50)]
        public string? Remark { get; set; }
    }
}
